﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MMarketitemSellDetail.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MarketModel.MMarketitemSellDetail" %>

<form id="pagerForm" method="post" action="MarketModel/MMarketitemSellDetail.aspx">
<input type="hidden" name="MMID" value="<%=MMID %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="20" />
</form>
<form id="form1" runat="server" method="post" action="MarketModel/MMarketitemSellDetail.aspx" onsubmit="return dialogSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        
    </div>
</div>
<div class="pageContent">
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="1000" layouth="60" targetType="dialog">
        <thead>
            <tr  >
                <th width="120">
                    物料名称
                </th>                
                <th width="100">
                    出库数量
                </th> 
                <th width="70" >
                    单价
                </th> 
                <th width="60" orderField="BuyDate" class="asc">
                    出库时间
                </th>       
                <th >
                    经销商名称(或其它)
                </th>
                <th  >
                    收货人
                </th>
                 <th  >
                    联系电话
                </th>
                 <th  >
                    物流名称
                </th>
                 <th  >
                    发货单号
                </th>
                 <th  >
                    是否收费
                </th>
                 <th  >
                    收费金额
                </th>
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
				<td><%# Eval("ItemName")%></td>
				<td><%# Eval("SellNum")%></td>
				<td><%# Eval("SellPrice")%></td>
                <td><%# Eval("SellDate")%></td>
                <td><%# Eval("AgentName")%></td>
                <td><%# Eval("Consignee")%></td>
                <td><%# Eval("ConsigneeTel")%></td>
                <td><%# Eval("ExpressMode")%></td>
                <td><%# Eval("InvoiceNum")%></td>
                <td>
                    <%# Convert.ToBoolean(Eval("IsSell"))?"是":"否"%>
                </td>
                <td><%# Eval("SellTotalMoney")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
     <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="dialogPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="dialog" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
